package com.mycompany.jsf2.dao.impl;

import com.mycompany.jsf2.dao.IPessoaDAO;
import com.mycompany.jsf2.entity.Pessoa;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;


@Repository
public class PessoaDAO  extends GenericDAO<Pessoa, Long> implements IPessoaDAO {

    public PessoaDAO() {
    } 

    @Autowired
    public PessoaDAO(SessionFactory sessionFactory) {
        super.setSessionFactory(sessionFactory);
    }

    
}
